>> mex_compile
x: ݊mۂ邽ߌÂ` MEX \񋟂Ă܂AMATLAB
̏̃o[Wł͍폜\łBڍׂ́AMEX ̃[X m[g
http://www.mathworks.com/help/matlab/release-notes.html QƂĂB 
> In mex_compile at 1 
*************************************************************************** 
  Warning: Neither -compatibleArrayDims nor -largeArrayDims is selected.  
           Using -compatibleArrayDims. In the future, MATLAB will require 
	       the use of -largeArrayDims and remove the -compatibleArrayDims  
	       option. For more information, see: 
           http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html  
           

External Interfaces/API
Support for 64-bit mxArrays

MATLAB Version 7.5 (R2007b) supports 64-bit mxArrays. This change allows C/C++ and Fortran files built on 64-bit platforms to handle large data arrays.

In earlier versions of MATLAB, mxArrays are limited to 2^31-1 elements. 
In Version 7.5 (R2007b) your mxArray can have up to 2^48-1 elements.

The mex command option, -largeArrayDims, 
uses the large-array-handling mxArray API. 

eʃf[^̎gp\ɂAV^
Use mwSize 
to represents size values, 
such as array dimensions and number of elements. 

Use mwIndex 
to represent index values, 
such as indices into arrays.

Compatibility Considerations

MEX-files that built properly in previous versions of MATLAB continue to build in Version 7.5 (R2007b).

The default option for mex is -compatibleArrayDims. 
If you use this option, mex builds the files using the 32-bit array-handling API.

To work with 64-bit mxArrays, 
your C, C++ code must comply with the 64-bit array-handling API. 

To use the API to create C/C++ MEX-files, 
see Handling Large mxArrays . 
